package com.yanh.transaction.service.impl;

import com.yanh.transaction.domain.PlatformChannel;
import com.yanh.transaction.dto.PayChannelDTO;
import com.yanh.transaction.mapper.PlatformChannelMapper;
import com.yanh.transaction.service.IPlatformChannelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yanh
 * @since 2024-06-02
 */
@Service
public class PlatformChannelServiceImpl extends ServiceImpl<PlatformChannelMapper, PlatformChannel> implements IPlatformChannelService {
    @Autowired
    PlatformChannelMapper platformChannelMapper;

    public List<PayChannelDTO> selectPayChannelByPlatformChannel(String platformChannelCode) {
        return platformChannelMapper.selectPayChannelByPlatformChannel(platformChannelCode);
    }
}
